package com.qidian.mes.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qidianit.mes.common.pojo.MesResult;
import com.qidianit.mes.pojo.Dictionary;
import com.qidianit.mes.pojo.DictionaryItem;

import java.util.List;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2025/7/25 9:32
 * @description
 */
public interface DictionaryService extends IService<Dictionary> {

    MesResult<List<Dictionary>> queryAll();

    MesResult<List<DictionaryItem>> queryByDictCode(String dictCode);


    MesResult<Boolean> updateDictById(Dictionary dictionary);
}
